<div class="desposits form">
<?php echo $this->Form->create('Desposit');?>
	<fieldset>
		<legend><?php __('Editar Deposito'); ?></legend>
	<?php
		echo $this->Form->input('id');
                 echo $this->Form->input('provinces_id',array('label'=>'Provincia','type'=>'select','selected'=>$idprov));	
		echo $this->Form->input('locations_id');
		echo $this->Form->input('descripcion');
                echo $this->Form->input('direccion');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Guardar', true));?>
</div>
<div class="actions">
	<h3><?php __('Acciones'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Borrar', true), array('action' => 'delete', $this->Form->value('Desposit.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Desposit.id'))); ?></li>
		<li><?php echo $this->Html->link(__('Listar Depositos', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Listar Localidades', true), array('controller' => 'locations', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nueva Localidad', true), array('controller' => 'locations', 'action' => 'add')); ?> </li>
	</ul>
</div>